Boost.Variant2
This is an older version and was released in 2019. The current version is 1.86.0.
C++
11
Added in Boost
1.71.0
A never-valueless, strong guarantee implementation of std::variant.
This Release
variant2
This repository contains a never-valueless, strong guarantee, C++11/14/17 implementation of std::variant. See the documentation for more information.
The code requires Boost.Mp11 and Boost.Config.
The repository is intended to be placed into the libs/variant2
directory of
a Boost clone or release, but the header variant.hpp
will also work
standalone.
Supported compilers:
- g++ 4.8 or later with
-std=c++11
or above - clang++ 3.5 or later with
-std=c++11
or above - Visual Studio 2015, 2017, 2019